home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga GIGA Graphic
/
Amiga GIGA Graphic CDs 1-4 (1994)(Geuther)(Disc 4 of 4)[!].iso
/
rush
/
scripts
/
dmsext
< prev
next >
Wrap
AmigaDOS Script File
|
1994-11-23
|
765b
|
42 lines
.key pubscreen/a,file/a
.bra {
.ket }
; $VER: dmsext 37.1 (15.4.93)
;
; Asks user for a disk to extract a DMS file to. This uses
; the AmigaDOS requestchoice under 3.0 and the requestchoice
; program included with Rush under AmigaDOS 2.x.
;
requestchoice >env:dmsdisk pubscreen {pubscreen} "DMS Extract" "Select disk to extract '{file}' to:" "df0:|ff0:|ff1:|ff2:|ff3:|Cancel"
if val $dmsdisk EQ 1
set disk "df0:"
endif
if val $dmsdisk EQ 2
set disk "ff0:"
endif
if val $dmsdisk EQ 3
set disk "ff1:"
endif
if val $dmsdisk EQ 4
set disk "ff2:"
endif
if val $dmsdisk EQ 5
set disk "ff3:"
endif
if val $dmsdisk EQ 0
quit
endif
if exists env:dmsdisk
delete quiet "env:dmsdisk"
endif
dms write {file} to $disk <z:rush/scripts/return